
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module simpleparse.common.__init__</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="simpleparse.html"><font color="#ffffff">simpleparse</font></a>.<a href="simpleparse.common.html"><font color="#ffffff">common</font></a>.__init__</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/mcfletch/pylive/simpleparse/common/__init__.py">/home/mcfletch/pylive/simpleparse/common/__init__.py</a></font></td></tr></table>
    <p><tt>Common&nbsp;(library)&nbsp;definitions<br>
&nbsp;<br>
You&nbsp;normally&nbsp;use&nbsp;this&nbsp;module&nbsp;by&nbsp;importing&nbsp;one&nbsp;of&nbsp;our<br>
sub-modules&nbsp;(which&nbsp;automatically&nbsp;registers&nbsp;itself&nbsp;with<br>
the&nbsp;SOURCES&nbsp;list&nbsp;defined&nbsp;here).<br>
&nbsp;<br>
Calling&nbsp;common.<a href="#-share">share</a>(&nbsp;dictionary&nbsp;)&nbsp;with&nbsp;a&nbsp;dictionary<br>
mapping&nbsp;string&nbsp;names&nbsp;to&nbsp;element&nbsp;token&nbsp;instances&nbsp;will<br>
make&nbsp;the&nbsp;element&nbsp;tokens&nbsp;available&nbsp;under&nbsp;those&nbsp;string<br>
names&nbsp;in&nbsp;default&nbsp;parsers.&nbsp;&nbsp;Note:&nbsp;a&nbsp;Parser&nbsp;can&nbsp;override<br>
this&nbsp;by&nbsp;specifying&nbsp;an&nbsp;explicit&nbsp;definitionSources<br>
parameter&nbsp;in&nbsp;its&nbsp;initialiser.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-share"><strong>share</strong></a>(dictionary)</dt></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>SOURCES</strong> = []</td></tr></table>
</body></html>